Skip to content

Implementation Plan: T5-P6-A2-WP1 Close Test Gap for config.toml auto_compact_limit Override + ADR#4123

Merged
Trecek merged 3 commits into
developfrom
t5-p6-a2-wp1-close-the-test-gap-where-setup-session-dir-s-co/4051
Jun 27, 2026
Merged

Implementation Plan: T5-P6-A2-WP1 Close Test Gap for config.toml auto_compact_limit Override + ADR#4123
Trecek merged 3 commits into
developfrom
t5-p6-a2-wp1-close-the-test-gap-where-setup-session-dir-s-co/4051

Conversation

@Trecek

@Trecek Trecek commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

Add a test asserting that setup_session_dir copies config.toml with the model_auto_compact_token_limit override intact, and create ADR-0004 documenting the sanctioned load_recipe re-delivery design decision. The test verifies the existing shutil.copy2 behavior preserves the override — no production code changes needed.

Implementation Plan

Plan file: /home/talon/projects/autoskillit-runs/impl-20260627-022900-498677/.autoskillit/temp/make-plan/t5-p6-a2-wp1-close-test-gap-config-toml-auto-compact_plan_2026-06-27_030300.md

Closes #4051

🤖 Generated with Claude Code via AutoSkillit

Token Usage Summary

Step Model count uncached output cache_read peak_ctx turns cache_write time
plan* opus[1m] 1 47 5.9k 621.2k 68.8k 28 52.9k 4m 23s
verify* sonnet 1 1.4k 6.1k 261.6k 48.6k 20 30.1k 3m 31s
implement* MiniMax-M3 1 62.2k 8.4k 1.6M 0 72 0 4m 30s
fix* sonnet 1 166 5.5k 909.9k 54.7k 49 36.2k 3m 32s
audit_impl* sonnet 1 52 6.5k 200.1k 40.5k 14 27.4k 3m 16s
prepare_pr* MiniMax-M3 1 39.6k 2.0k 110.0k 0 12 0 58s
compose_pr* MiniMax-M3 1 36.2k 1.5k 140.4k 0 12 0 27s
review_pr* sonnet 1 118 13.6k 643.4k 58.7k 31 40.6k 3m 46s
resolve_review* sonnet 1 213 10.4k 1.5M 75.1k 57 57.1k 4m 37s
Total 140.0k 59.8k 6.0M 75.1k 244.3k 29m 4s

* Step used a non-Anthropic provider; caching behavior may differ.

Token Efficiency

Step LoC Changed cache_read/LoC cache_write/LoC output/LoC
plan 0
verify 0
implement 63 25260.7 0.0 133.0
fix 2 454950.5 18088.0 2755.0
audit_impl 0
prepare_pr 0
compose_pr 0
review_pr 0
resolve_review 9 171005.2 6345.8 1150.6
Total 74 81311.2 3301.2 808.6

Model Usage Breakdown

Model steps uncached output cache_read cache_write time
opus[1m] 1 47 5.9k 621.2k 52.9k 4m 23s
sonnet 5 1.9k 42.0k 3.6M 191.4k 18m 44s
MiniMax-M3 3 138.0k 11.9k 1.8M 0 5m 55s

Trecek and others added 3 commits June 27, 2026 02:41
…DR-0004

Adds test_copied_config_has_auto_compact_limit to TestCodexBackendSetupSessionDir
to verify that setup_session_dir copies config.toml with the
model_auto_compact_token_limit override intact. No production code changes needed;
the test confirms shutil.copy2 behavior.

Also creates ADR-0004 documenting load_recipe as the sanctioned channel for
recipe knowledge re-delivery after Codex context compaction, and adds it to
the docs/decisions/README.md index.
…imit key

setup_session_dir uses shutil.copy2 faithfully — when the source config.toml
lacks model_auto_compact_token_limit, the session config also lacks it.
test_session_config_lacks_key_when_source_lacks_it documents this contract,
closing the negative-case gap noted in the PR review.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Trecek Trecek added this pull request to the merge queue Jun 27, 2026
Merged via the queue into develop with commit 239949d Jun 27, 2026
3 checks passed
@Trecek Trecek deleted the t5-p6-a2-wp1-close-the-test-gap-where-setup-session-dir-s-co/4051 branch June 27, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant